package com.lin.eat.entry;

import java.util.Date;
import java.util.List;

public class Order {

    private String o_id;
    private String c_id;
    private String ad_phone;
    private String o_consignee;
    private String o_address;
    private float o_total;
    private int o_state;
    private int o_need;
    private int o_pay;
    private String o_message;
    private String o_time;
    private List<OrderDetail> orderDetailList;

    public Order() {
    }

    public Order(String o_id, String c_id, String ad_phone, String o_consignee, String o_address, float o_total, int o_state, int o_need, int o_pay, String o_message, String o_time, List<OrderDetail> orderDetailList) {
        this.o_id = o_id;
        this.c_id = c_id;
        this.ad_phone = ad_phone;
        this.o_consignee = o_consignee;
        this.o_address = o_address;
        this.o_total = o_total;
        this.o_state = o_state;
        this.o_need = o_need;
        this.o_pay = o_pay;
        this.o_message = o_message;
        this.o_time = o_time;
        this.orderDetailList = orderDetailList;
    }

    @Override
    public String toString() {
        return "Order{" +
                "o_id='" + o_id + '\'' +
                ", c_id='" + c_id + '\'' +
                ", ad_phone='" + ad_phone + '\'' +
                ", o_consignee='" + o_consignee + '\'' +
                ", o_address='" + o_address + '\'' +
                ", o_total=" + o_total +
                ", o_state=" + o_state +
                ", o_need=" + o_need +
                ", o_pay=" + o_pay +
                ", o_message='" + o_message + '\'' +
                ", o_time='" + o_time + '\'' +
                ", orderDetailList=" + orderDetailList +
                '}';
    }

    public String getO_id() {
        return o_id;
    }

    public void setO_id(String o_id) {
        this.o_id = o_id;
    }

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public String getAd_phone() {
        return ad_phone;
    }

    public void setAd_phone(String ad_phone) {
        this.ad_phone = ad_phone;
    }

    public String getO_consignee() {
        return o_consignee;
    }

    public void setO_consignee(String o_consignee) {
        this.o_consignee = o_consignee;
    }

    public String getO_address() {
        return o_address;
    }

    public void setO_address(String o_address) {
        this.o_address = o_address;
    }

    public float getO_total() {
        return o_total;
    }

    public void setO_total(float o_total) {
        this.o_total = o_total;
    }

    public int getO_state() {
        return o_state;
    }

    public void setO_state(int o_state) {
        this.o_state = o_state;
    }

    public int getO_need() {
        return o_need;
    }

    public void setO_need(int o_need) {
        this.o_need = o_need;
    }

    public int getO_pay() {
        return o_pay;
    }

    public void setO_pay(int o_pay) {
        this.o_pay = o_pay;
    }

    public String getO_message() {
        return o_message;
    }

    public void setO_message(String o_message) {
        this.o_message = o_message;
    }

    public String getO_time() {
        return o_time;
    }

    public void setO_time(String o_time) {
        this.o_time = o_time;
    }

    public List<OrderDetail> getOrderDetailList() {
        return orderDetailList;
    }

    public void setOrderDetailList(List<OrderDetail> orderDetailList) {
        this.orderDetailList = orderDetailList;
    }
}
